// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-button--primary {
  background-color: #2752fb;

  &:hover {
    background-color: #7088eb;
  }
}

.el-button--success {
  background-color: #40B5AD;
  border-color: #40B5AD;

  &:hover {
    background-color: #4ac8a8;
    border-color: #4ac8a8;
  }

  &:focus {
    background: #4ac8a8;
    background-color: #4ac8a8;
    border-color: #4ac8a8;

  }

}

.el-progress.is-success .el-progress-bar__inner {
  background-color: #40B5AD;

  .el-progress-bar__innerText {
    color: #fff !important;
  }
}

.el-tree-node__content {
  height: 40px;
}

.el-tree-node__content:hover {
  color: #40B5AD;
  background-color: #f0f4ff;
}

.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
  color: #40B5AD;
  background-color: #f0f4ff;
}

.el-input__inner:focus {
  border-color: #40B5AD;
  /* 设置边框颜色为红色 */
}

.el-range-editor.is-active,
.el-range-editor.is-active:hover,
.el-select .el-input.is-focus .el-input__inner {
  border-color: #40B5AD;
}

// .el-select .el-input.is-focus .el-input__inner:focus {
//   border-color: #40B5AD;
// }

// .el-checkbox__inner {
//   // background-color: #30b08f;
//   border-color: #30b08f;
// }

.el-checkbox__inner:hover {
  border-color: #30b08f;
}

.el-checkbox__inner:focus {
  border-color: #30b08f;
}

.is-focus:focus {
  background-color: #30b08f;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #30b08f;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #30b08f;
  border-color: #30b08f;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  border-color: #30b08f;
}

.el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: #30b08f;
}

.el-select .el-input__inner:focus {
  border-color: #30b08f;
}

.el-link.el-link--default:hover {
  color: #30b08f;
}

.el-dropdown-menu__item:hover {
  color: #30b08f;
}

.el-dropdown-menu__item:not(.is-disabled):hover {
  color: #30b08f;
}

.el-checkbox__input.is-checked+.el-checkbox__label {
  color: #30b08f;
}